exports.__esModule = true;

function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, arguments); return new Promise(function (resolve, reject) { function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { return Promise.resolve(value).then(function (value) { step("next", value); }, function (err) { step("throw", err); }); } } return step("next"); }); }; }

exports.default = class extends think.Logic {
    queryEventAction() {
        var _this = this;

        return _asyncToGenerator(function* () {
            _this.allowMethods = 'post';
        })();
    }
    addEventBGIDAction() {
        var _this2 = this;

        return _asyncToGenerator(function* () {
            _this2.allowMethods = 'post';
        })();
    }
    queryEventListAction() {
        var _this3 = this;

        return _asyncToGenerator(function* () {
            _this3.allowMethods = 'post';
        })();
    }
    querySpecificAction() {
        var _this4 = this;

        return _asyncToGenerator(function* () {
            _this4.allowMethods = 'post';
        })();
    }
    queryParentEventAction() {
        var _this5 = this;

        return _asyncToGenerator(function* () {
            _this5.allowMethods = 'get';
        })();
    }

    queryChildrenEventAction() {
        var _this6 = this;

        return _asyncToGenerator(function* () {
            _this6.allowMrthods = 'post';
        })();
    }
    eventSourceTypeAction() {
        var _this7 = this;

        return _asyncToGenerator(function* () {
            _this7.allowMethods = 'get';
        })();
    }

    eventStateTypeAction() {
        var _this8 = this;

        return _asyncToGenerator(function* () {
            _this8.allowMethods = 'get';
        })();
    }

    eventDoneAction() {
        var _this9 = this;

        return _asyncToGenerator(function* () {
            _this9.allowMethods = 'post';
        })();
    }
    eventPicAction() {
        var _this10 = this;

        return _asyncToGenerator(function* () {
            _this10.allowMethods = 'post';
        })();
    }

    allEventReportAction() {
        this.rules = {};
    }
};